﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Pager 分页控件</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" /><link href="../demo.css" rel="stylesheet" type="text/css" />
        
    <script src="../../scripts/boot.js" type="text/javascript"></script>
       
</head>
<body>
    <h1>Pager 分页控件</h1>      
    

<div class="mini-pager" style="width:700px;background:#f0f3f7;border:solid 1px #ccc;    " 
    totalCount="123" onpagechanged="onPageChanged" sizeList="[5,10,20,100]"
    showPageSize="true" showPageIndex="true" showPageInfo="true" 
    buttons="#buttons"
    >        
    
</div>    
<div id="buttons">
    <span class="separator"></span>
    <a class="mini-button" iconCls="icon-add" plain="true" id="add"></a>
    <a class="mini-button" iconCls="icon-edit" plain="true"></a>
    <a class="mini-button" iconCls="icon-remove" plain="true"></a>
</div>

<script type="text/javascript">
    function onPageChanged(e) {
        alert(e.pageIndex + ":" + e.pageSize);
    }
    
</script>

    <div class="description">
        <h3>Description</h3>
        <p>
        </p>
    </div>
</body>
</html>